home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0089.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.6 KB  |  62 lines

  1. On Sat, 7 Jan 1995, MenTaT - !Productions wrote:
  2.  
  3. > I just installed the Turbo Plus extension from the August 94 issue of CU, 
  4. > but my problem is that I have no idea of the syntax of most of the 
  5. > commands.  The ones I'm most interested in are the Plane commands.  I 
  6. > assume that Plane Offset works like Screen Offset, but it doesn't seem to 
  7. > do anything.
  8. > I ran the following program :
  9. > Curs Off : Flash Off : Paper 0 : Cls
  10. > For R=100 To 10 Step -5
  11. >    Inc A
  12. >    Ink A
  13. >    Circle 160,100,R
  14. >    Paint 160,100
  15. > Next
  16. > Do
  17. >    Add Q,1,1 To 100
  18. >    Plane Offset 0,1,Q,0
  19. >    Wait Vbl
  20. > Loop
  21. You have to use Plane Update command to refresh display.
  22. I.e 
  23.  
  24. Do
  25.    Wait Vbl
  26.    Plane Offset screen,plane,x,y
  27.    Plane Update screen
  28. Loop
  29.  
  30. I'm not sure, but I think you have to clear previous plane offset values
  31. before setting new plane offsets. You can achieve this by putting a
  32. Plane Offset screen,plane,-1,-1 command after the Wait Vbl...
  33.  
  34. > And all it did was draw the circles and then sit there...
  35. > So, is the format of Plane Offset 
  36. > Plane Offset screen#,plane#,xoff,yoff
  37. Yes it is, well at least I believe it is...
  38. > and if so, why didn't it do anything?
  39. > (And how do I use the starfield thing, and why doesn't the 
  40. > LightSpeed.AMOS demo work?  It just causes a System Failure (8000 0003))
  41. > Thanks!
  42. > --
  43. > GCS -d+ H+ s++:- g+ p? !au a- w+++            !Productions 1995
  44. > v* C+++ UB+++A++++ P++ L++ E+ N+++       http://satelnet.org/~mentat/
  45. > K+ !W--- M-- V po- Y+ t++ 5+ jx G?
  46. > R tv++ D- B--- e+ u** h f r++ !n y+ "No matter where you go, there you are."
  47.  
  48. Petri Hakkinen
  49. mystic@tlti.tokem.fi
  50.  
  51.  
  52.